package com.zuoyy.modules.system.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.zuoyy.modules.common.BaseEntity;
import com.zuoyy.modules.common.DataEntity;
import lombok.Data;
import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;
import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
@Data
@Entity
@Table(name="sys_file")
@EntityListeners(AuditingEntityListener.class)
public class SysFile extends DataEntity implements Serializable {

    private String businessId;
    // 文件名
    private String name;
    // 文件路径
    private String path;
    // 文件类型
    private String mime;
    // 文件大小
    private Long size;
    // 文件md5值
    private String md5;
    // 文件sha1值
    private String sha1;





}